{{template "public/head.html" .}}
		<div class="w_container">
			<div class="container">
				<div class="row w_main_row">
					<div class="col-lg-9 col-md-9 w_main_left">
						<div class="panel panel-default contenttop" {{if eq .top.Id 0}}style="display: none" {{end}}>
							<a href="detail.html?id={{.top.Id}}">
								<strong>置顶</strong>
								<h3 class="title">{{.top.Title}}</h3>
								<p class="overView">{{.top.Description}}</p>
							</a>
						</div>
						<div class="panel panel-default">
							<div class="panel-heading">
								<h3 class="panel-title">最新发布</h3>
							</div>
							<div class="panel-body">
								<!--文章列表开始-->
								<div class="contentList">
								{{range $k,$v := .article}}
									<div class="panel panel-default" >
										<div class="panel-body">
											<h4><a class="title" href="detail.html?id={{$v.Id}}">{{$v.Title}}</a></h4>
											<p>
												<a class="label label-default">{{$v.TagName}}</a>
											</p>
											<p class="overView">{{$v.Description}}</p>
											<p>
												<span class="count">
													<i class="glyphicon glyphicon-eye-open"></i>
													阅读:20
												</span>
												<span class="count">
													<i class="glyphicon glyphicon-time"></i>
                                               	    {{$v.CreateTime}}
												</span>
											</p>
										</div>
									</div>
								{{end}}
								</div>
								<div class="am-fr" id="page">
									{{str2html .page}}
								</div>
								<!--文章列表结束-->
							</div>
						</div>
					</div>

					<!--左侧开始-->
					<div class="col-lg-3 col-md-3 w_main_right">
						<div class="panel panel-default sitetip">
							<a href="javascript:;">
								<strong>公告</strong>
								<h3 class="title">{{.notice.Title}}</h3>
								<p class="overView">{{.notice.Content}}</p>
							</a>
						</div>
						<div class="panel panel-default">
							<div class="panel-heading">
								<h3 class="panel-title">热门标签</h3>
							</div>
							<div class="cloud">
								<ul>
									{{range $k,$v := .tag}}
										<li><a href="/">{{$v.Name}}</a></li>
									{{end}}
								</ul>
								<div style="clear:both;"></div>
								<br>
							</div>
						</div>
						<div class="panel panel-default">
							<div class="panel-heading">
								<h3 class="panel-title">最热文章</h3>
							</div>
							<div class="panel-body">
								<ul class="list-unstyled sidebar">
									<li>
										<a href="#">Beego log模块的配置与使用</a>
									</li>
								</ul>
							</div>
						</div>
						<div class="panel panel-default">
							<div class="panel-heading">
								<h3 class="panel-title">友情链接</h3>
							</div>
							<div class="panel-body">
								<div class="newContent">
									<ul class="list-unstyled sidebar shiplink">
										<li><a href="http://localhost:8090" target="_blank">后台管理</a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="panel panel-default">
							<div class="panel-heading">
								<h3 class="panel-title">take your time.</h3>
							</div>
							<div class="panel-body">
								<img src="/static/img/IMG_1648.JPG" style="height: 230.5px;width: 230.5px;" />

                                <!--<video style="width: 100%;height: 50%" autoplay loop>
                                    <source src="/static/video/1.mp4" type="video/mp4" />
                                </video>-->
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="w_foot">
			<div class="w_foot_copyright">Copyright &copy; 2017-2020, www.fawn.ren. All Rights Reserved. <span>|</span>
				<a target="_blank" href="#" rel="nofollow">ICP备1922号</a>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		var $backToTopEle = $('<a href="javascript:void(0)" class="Hui-iconfont toTop" title="返回顶部" alt="返回顶部" style="display:none">top</a>').appendTo($("body")).click(function() {
			$("html, body").animate({ scrollTop: 0 }, 120);
		});
		var backToTopFun = function() {
			var st = $(document).scrollTop(),
				winh = $(window).height();
			(st > 0) ? $backToTopEle.show(): $backToTopEle.hide();
			/*IE6下的定位*/
			if(!window.XMLHttpRequest) {
				$backToTopEle.css("top", st + winh - 166);
			}
		};

		$(function() {
			$(window).on("scroll", backToTopFun);
			backToTopFun();
		});
	</script>

</html>